<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$postdata=get_postdata();
$id = intval($postdata['id']);
if(empty($id)){
	$return['error'] = 1;
	$return['msg'] = '内容ID为空！';
	exi($return);
}
$update=array('isread'=>1);
pdo_update('jy_kefu_chatlog',$update,array('id'=>$id,'uniacid'=>$_SESSION['uniacid']));
$return['error'] = 0;
exi($return);